package com.javajun.endofterm.repository;

import com.javajun.endofterm.common.CommonRepository;
import com.javajun.endofterm.entity.PowerRecord;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author: Xiong Limin
 * Date: 2020-12-02-9:42 下午
 */
@Repository
public interface PowerRecordRepository extends CommonRepository<PowerRecord, Integer> {
    Page<PowerRecord> findByDomitoryId(Pageable pageable, Integer domiId);
}
